package abhiWeb.com.abhi.presentation.home.action;

import java.io.PrintWriter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.DispatchAction;
import org.omg.CORBA.SystemException;

import abhiWeb.com.abhi.presentation.common.AbhiForwardConstants;

public class HomeAction extends DispatchAction 
{
	
	
	public ActionForward getHome(ActionMapping actionMapping,
			ActionForm actionForm, HttpServletRequest request,
			HttpServletResponse response) throws Exception{
		
		ActionForward actionForward = null;
		try{
			actionForward = actionMapping.findForward(AbhiForwardConstants.FORWARD_HOME);
			PrintWriter out = response.getWriter();
			out.println("hey..buddy m here..");
			
			
		}
		catch(SystemException se)
		{
			se.printStackTrace();
		}
		return actionForward;
	}

	
	
}
